package com.itboye.jigongbao.retrofit.util;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Yale on 2017/6/13.
 */

@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Cache {
//    TimeUnit timeUnit() default TimeUnit.NANOSECONDS;
//
//    long time() default -1;
    //是否缓存
    boolean isCache() default false;
    //该接口是否分页
    boolean isPaging() default false;
}
